package com.lhh.springcloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 李洪豪
 * @Sno 20220301044
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {
    //-- 账号微服务的数据库
    //CREATE DATABASE account_micro_service
    //USE account_micro_service
    //CREATE TABLE `account`(
    //id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY , user_id BIGINT DEFAULT NULL , money INT DEFAULT NULL COMMENT '账户金额' );
    //-- 初始化账户表
    private long id;
    private long user_id;
    private int money;
}
